﻿using Abp.Domain.Entities.Auditing;
using SFGX.Mango.BoxUses;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace SFGX.Mango.ExpressPersons
{
	public class ExpressPerson: FullAuditedEntity
	{
		[Required]
		public string OpenId { get; set; }
		[Required]
		public string Mobile { get; set; }

		public string NickName { get; set; }

		public string AvatarUrl { get; set; }

		public string WXUserInfo { get; set; }

		[ForeignKey("ExpressPersonId")]
		public virtual ICollection<BoxUse>  BoxUses { get;   set; }
	}
}
